Grasshopper to JSON difficulty

The general approach I use is to structure all my data into a Python dictionary (i.e. dict() or {}) and then json.dumps(myDict) this dictionary. Note that only primitive data types can be JSON dumped like this (i.e. not RhinoCommon geometry types etc. You can pickle a lot of these though).