Use flask.json to replace standard json