title: How to properly output JSON with app engine Python webapp2?
body: <p>Right now I am currently just doing this:</p>
  
  <pre>self.response.headers['Content-Type'] = 'application/json'
  self.response.out.write('{"success": "some var", "payload": "some var"}')</pre>
  
  <p>Is there a better way to do it using some library?</p>