Is the API saying that encoded JSON is returned or a you meant that a dictionary is returned, anyway the meta data dictionary should be a simple key:value dictionary not key:list or key:dictionary.