You can write anything you one to a custom hidden ...
# suitescript
a
You can write anything you one to a custom hidden field as string and you create the JSON from that in the other end of the request...