It looks like it might be returning an xml rather than json file!
Why would the dft make it not be json but say it is?
Sometimes stuff is just documented badly unfortunately. Two things:
you might be able to check the returned data type with print(response.headers['Content-Type'])
you might be able to define the format you'd like the data returned in in the requests.get line, with another parameter (not 100% sure on this though i'm googling now as I'm procrastinating away from my budget spreadsheet...)
It looks like it might be returning an xml rather than json file!
Sometimes stuff is just documented badly unfortunately. Two things: