Utility to convert a GAE model to JSON and back again to a model