removed unnecessary json.dumps calls because tornado does it for us