Meteor's EJSON, in Python.