use requests.json rather than json.loads