How to send a message as json to ProtoPie Connect?

Hey, just testing a pipeline.
i have a button in PPStudio, which has a variable switchStatus.
this variable shall be send in json format when the button is being pressed.

the variable switchstatus is set to Text if that means something here..


if i send something like { "value": { "play": switchStatus } }.
red message box and i receive an empty json: Received from ProtoPie: {}

when i hardcode the state: { "value": { "play": true } }
the message box becomes also red.
although invalid, if I press ‘Test Request’ in the API Settings in PPConnect. the json is send succesfully to my URL.

how do I need to set this up that i can dynamically send values of eg. a switch state ?