How to Build a JSON Using Strings Containing Escape Characters

Creating a JS formula step that will result in a JSON which uses strings containing escape characters might result in different errors when running the formula, for example:

A JSONArray text must start with '[' at 1 [character 2 line 1]

To avoid the above error, the solution is to include the JSON.parse at the end of the JS script, i.e.:

done(JSON.parse(ParamValue))