Javascript reinterpretation of Python jsonpickle to allow reading and (to a lesser extent) writing JSON objects