I'm trying to serialize Symbols page as json as discussed here: http://sketchplugins.com/d/92-serialize-deserialize-layers-symbols-etc
When using cocoascript most of the functions that I've seen interact with a context object. Which seems to be tied to the selectedPage. How do I travel up to the root to then travel down to the symbols page.
var sketch = context.api();
I've started with the sketch object thinking this is the root but not sure how to manipulate sketch.Document to get the symbols page.