How to Build a JSON Using Strings Containing Escape Characters

Creating a JS procedure step that will result in a JSON which uses strings containing escape characters might result in different errors when running the procedure, 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.: