title: how to search and access sub-element and structure in python
body: <p>I have this dict (json) in python and would like to reduce it </p>
  
  <pre><code>{
     "M9D34X8ZHECCKKRU.JRTCKXETXF":{
        "priceDimensions":{
           "M9D34X8ZHECCKKRU.JRTCKXETXF.6YNURZBX9Y":{
              "unit":"GB-Mo",
              "endRange":"1024",
              "description":"$0.0240 per GB",
              "beginRange":"0",
              "pricePerUnit":{
                 "USD":"0.0240000000"
              }
           },
           "M9D34X8ZHECCKKRU.JRTCKXETXF.QUZRP4P8Y4":{
              "unit":"GB-Mo",
              "endRange":"51200",
              "description":"$0.0236 per GB",
              "beginRange":"1024",
              "pricePerUnit":{
                 "USD":"0.0236000000"
              }
           },
           "M9D34X8ZHECCKKRU.JRTCKXETXF.YJ98HAVVPP":{
              "unit":"GB-Mo",
              "endRange":"inf",
              "description":"$0.0228 per GB",
              "beginRange":"512000",
              "pricePerUnit":{
                 "USD":"0.0228000000"
              }
           }
        },
        "sku":"M9D34X8ZHECCKKRU",
        "effectiveDate":"2019-11-01T00:00:00Z",
        "offerTermCode":"JRTCKXETXF",
        "termAttributes":{
  
        }
     }
  }
  </code></pre>
  
  <p>Given this above structure I would like to just return the "priceDimensions" without those "M9D34X8ZHECCKKRU..." tags.</p>
  
  <pre><code>{
     "priceDimensions":[
        {
           "unit":"GB-Mo",
           "endRange":"1024",
           "description":"$0.0240 per GB",
           "beginRange":"0",
           "pricePerUnit":{
              "USD":"0.0240000000"
           }
        },
        {
           "unit":"GB-Mo",
           "endRange":"51200",
           "description":"$0.0236 per GB",
           "beginRange":"1024",
           "pricePerUnit":{
              "USD":"0.0236000000"
           }
        },
        {
           "unit":"GB-Mo",
           "endRange":"inf",
           "description":"$0.0228 per GB",
           "beginRange":"512000",
           "pricePerUnit":{
              "USD":"0.0228000000"
           }
        }
     ]
  }
  </code></pre>
  
  <p>I would then have to search in it to find the pricePerUnit for a value in a range (between beginRange and endRange)</p>