flaskapp now serves json data, not html