Sending a «json object» through a custom app to a «json type" parameter fails, how to structure json?

I suggest using Text instead then, if you want to avoid the escaping of the content twice.