Represent Google Appengine Python Search API Response object as Javascript object