Open and Save SJS with single JSON

Refer to the following code to see how to open and save a JSON string containing all the contents of SpreadJS .sjs file format.