title: Python JSON unhashable type: 'dict'
body: <p>I am creating a Python script to parse the JSON response from <a href="https://vulners.com/api/v3/search/stats/" rel="nofollow noreferrer">https://vulners.com/api/v3/search/stats/</a></p>
  
  <p>I have the following code in my .py:</p>
  
  <pre><code>import json
  import requests
  
  response = requests.get('https://vulners.com/api/v3/search/stats/')
  vuln_set = json.loads(response.text)
  
  vuln_type = vuln_set['data']['type_results']
  vuln_bulletinfamily = vuln_set['data']['type_results'][vuln_type]['bulletinFamily']
  vuln_name = vuln_set['data']['type_results'][vuln_type]['displayName']
  
  print("Type: " + vuln_type)
  print("Bulletin Family: " + vuln_bulletinfamily)
  print("Name: " + vuln_name)
  </code></pre>
  
  <p>I need to get the vuln_type aswell as the child information (vuln_bulletinfamily &amp; vuln_name) 
  An excerpt from the JSON response:</p>
  
  <pre><code>"data": {
  "type_results": {
    "aix": {
      "lastUpdated": [],
      "bulletinFamily": "unix",
      "displayName": "IBM AIX",
      "lastrun": "2017-09-14T14:04:56",
      "count": 110,
      "workTime": "0:00:10.983795"
    },
    "akamaiblog": {
      "lastUpdated": [],
      "bulletinFamily": "blog",
      "displayName": "Akamai Blog",
      "lastrun": "2017-09-14T10:38:52",
      "count": 1463,
      "workTime": "0:00:00.358691"
    },
    "amazon": {
      "lastUpdated": [],
      "bulletinFamily": "unix",
      "displayName": "Amazon Linux AMI",
      "lastrun": "2017-09-14T14:17:40",
      "count": 889,
      "workTime": "0:00:01.839594"
    },
  </code></pre>
  
  <p>I am getting an error of TypeError: unhashable type: 'dict'</p>
  
  <p>Traceback:</p>
  
  <pre><code>Traceback (most recent call last):
  File "test.py", line 9, in &lt;module&gt;
  vuln_bulletinfamily = vuln_set['data']['type_results'][vuln_type]['bulletinFamily']
  TypeError: unhashable type: 'dict'
  </code></pre>