code: def serialize(self, content):
          
          content = super(JSONPTemplateEmitter, self).serialize(content)
          callback = self.request.GET.get('callback', 'callback')
          return '%s(%s)' % (callback, content)
docs: Move rendered content to callback.
  
          :return string: JSONP