Use flask.jsonify function to return epg