title: Take particular Key and values from JSON response using python?
body: <p>I have a different kind of JSON format. I am stuck on how to get the 1st Key alone.</p>
  
  <p>My JSON RESPONSE:</p>
  
  <pre><code>resp={
  "root[0]": {
  "Name": "res1",
  "region": "ca-1",
  "tags": [
    {
      "name": "Environment",
      "value": "TC1"
    },     
    {
      "name": "Test",
      "value": "yes"
    }
  ]
  },
  "root[3]": {
  "Name": "Demo",
  "region": "ca-1",
  "tags": [
    {
      "name": "Test1",
      "value": "check"
    },
  
    {
      "name": "Test12",
      "value": "yes"
    }
  ]
  </code></pre>
  
  <p>}
  }</p>
  
  <p>I want to take the Name and Region key and values alone. Note that root[] will have any number inside so I cant explicitly put the number as it changes every time.</p>
  
  <p>Python Code</p>
  
  <pre><code>test = resp.get('Name')
  test2= resp.get('region')
  print(test,test2)
  ##Both prints None
  </code></pre>
  
  <p>Expected:</p>
  
  <pre><code> "Name": "res1",
   "region": "ca-1",
   "Name": "Demo",
   "region": "ca-1"
  </code></pre>