Renamed jsonify to to_json.