You are using the json.loads method. More documentation here. This method is used for string arguments ...
stackoverflow.com