replaced the json dependency with requests' json method. And added some better guiding statements