I’m currently a big fan of this syntax for parsing and writing JSON.
In the past, you used to have to do eval on your JSON coming in, and that posed a great security risk. Now you can use string.parseJSON and object.toJSONString by using this script:
Enjoy!