Creating json objects in Orchestrator

Recently I saw a pair of articles by @RoeyAzroel on vRO XML & JSON Gotcha! - Part 1 and Part 2. This reminded me that I had some sample code that I refer to when working with json as well so figured I would share here. Be sure you know about the JSON object and its .parse and .stringify methods since they do not appear anywhere in the Orchestrator’s API explorer or documentation.