Check that the json return data is a dict.

json.loads() can accept integers, lists, and dicts, so we only want
to check for dict type.