Use force=True in get_json to prevent error on !json requests

username = data.get('username', None)
AttributeError: 'NoneType' object has no attribute 'get'