Insert flow variables in message payloads

Here's a picture of my flow to get a report on my Raspberry Pi.


And here's what 'Format response' looks like using Javascript...