flask.jsonify & POST for setting variables