Set requests headers with requests.Session.headers.update, and call r.json() to deserialise json responses.