title: How to get the correct obj in json?
body: <p>I have the following json:</p>
  
  <pre><code>{  
     "batchcomplete":"",
     "query":{  
        "pages":{  
           "53309836":{  
              "pageid":53309836,
              "ns":0,
              "title":"March 4 Trump",
              "contentmodel":"wikitext",
              "pagelanguage":"en",
              "pagelanguagehtmlcode":"en",
              "pagelanguagedir":"ltr",
              "touched":"2018-06-12T21:00:59Z",
              "lastrevid":828824621,
              "length":12173,
              "fullurl":"https://en.wikipedia.org/wiki/March_4_Trump",
              "editurl":"https://en.wikipedia.org/w/index.php?title=March_4_Trump&amp;action=edit",
              "canonicalurl":"https://en.wikipedia.org/wiki/March_4_Trump"
           }
        }
     }
  }
  </code></pre>
  
  <p>Which I get by running:</p>
  
  <pre><code>$.getJSON("https://en.wikipedia.org/w/api.php?action=query&amp;prop=info&amp;pageids=&lt;?php echo $pageId; ?&gt;&amp;inprop=url&amp;format=json&amp;callback=?", {
    format: "json"
   }, function(data) {
    $.each(data.query, function(i) {
      console.log(JSON.stringify(data));
   });
  });
  </code></pre>
  
  <p>I need <code>title</code></p>
  
  <p>I tried: <code>console.log(i.title);</code> and <code>console.log(i.pages.title);</code></p>