callback = self.get_argument('callback')
jsonp = '{jsfunc}({json});'.format(jsfunc=callback, json=json_encode(obj))
self.set_header('Content-Type', 'application/javascript')
self.write(jsonp)
торнадо написать объект Jsonp