JSON escaping requirements
If a parameter within the JSON formatted parameters template is a JSON structure in itself, it needs to be escaped before adding it as a value - there are many offline and online tools available to assist with this, for example Code Beautify's Javascript Escape/Unescape.