title: JSON serialization of Google App Engine models
body: <p>I've been searching for quite a while with no success. My project isn't using Django, is there a simple way to serialize App Engine models (google.appengine.ext.db.Model) into JSON or do I need to write my own serializer?  </p>
  
  <p><strong>Model:</strong></p>
  
  <pre><code>class Photo(db.Model):
      filename = db.StringProperty()
      title = db.StringProperty()
      description = db.StringProperty(multiline=True)
      date_taken = db.DateTimeProperty()
      date_uploaded = db.DateTimeProperty(auto_now_add=True)
      album = db.ReferenceProperty(Album, collection_name='photo')
  </code></pre>