fix requests .json() method usage