Sorry, your question doesn't make any sense.
The response from the Prometheus HTTP API is JSON. When receiving this with any sensible HTTP client library, normally JSON objects will be converted into Python dicts. If this isn't happening, then you need to show your code, and show what you *are* receiving.