fix: requests.json() throws error in python 2.7 change to requests.json in case the error is thrown