json is a method in recent version of requests .