def jsonp(data, callback): reply = {"status": "OK", "data": data} return callback + "([" + jsonize(reply) + "]);"