Try setting msg.labels to JSONata J: [$$.payload.R]
and then msg.payload to JSONata J: [[$$.payload.D]]
or [$$.payload.D.[$]]
in a change node.
You have to set msg.labels first, as if you set payload the data will be overwrtten.
1 Like