title: Iterate through nested JSON object
body: <p>How do I parse through JSON with unknown variables?  I know "Europe" will always exist, but the city names (e.g. Germany, ...etc) will always be variable.  I am trying to extract the city and hostname from each entry. </p>
  
  <pre><code>{
    "Europe": {
      "Germany": [
        {
          "hostname": "host1"
        }
      ],
      "Poland": [
        {
          "hostname": "host2"
        }
      ],
      "Denmark": [
        {
          "hostname": "host3"
        }
      ],
  </code></pre>