Adapt to API changes of requests

* `json` used to be porperty (in 0.14), is method (in 1.0.4)