title: How do I a parse JSON document with dynamic keys in Python?
body: <p>I have a JSON doc that looks something like this:</p>
  
  <pre><code>{   
    "key1": "value1",
    "key2": {
      "random_value": {
         "keyX": {
            "keyY": "valueY",
        }
      }
    }
  }
  </code></pre>
  
  <p>The key names random_value keeps changing and I would like to retrieve valueY. How do I go about doing this in Python?</p>