Requesting a REST-API with the python requests package I got a JSON-string that is full of Java-Escapes. E.g. it uses \u00f6 instead of ö. I could replace each escape-string with the respective character, but I suppose there are much better solutions.
Here is my code:
data = requests.get(url,auth=auth, headers=headers)
parsed = json.loads(data.content)
with open('data.json', 'w') as outfile:
  json.dump(parsed,outfile,indent=4,sort_keys=True)
There is a similar question answered here but i did not succeed trying to adapt it to my problem.
EDIT: This is a snippet of the output:
"address": {
    "quarter": "Niedersch\u00f6nhausen (Pankow)", 
    "street": "Blankenburger Stra\u00dfe", 
    "wgs84Coordinate": {
        "latitude": 52...., 
        "longitude": 13....
        }
}
