title: Return json object from dojo.xhrget
body: <p>I am trying to get the json object from a dojo xhrGet call.</p>
  
  <p>What I want is jsonobject = stuff; </p>
  
  <p>I can see the json object in the console, but cannot access it! </p>
  
  <pre>
  
  
     var xhrargs = {
      url: "/rest/url",
      handleAs: "json",
      preventCache : false,
      load: function(json_results){
        console.log(json_results);
        store = json_results;
        return dojo.toJson.json_results;
      },
      error: function(response, ioArgs) {
        console.error(response);
        console.error(response.stack);
      }   
     };
  
      var deferred = dojo.xhrGet(xhrargs);
      console.log("Json is "+JSON.stringify(deferred));
  
  
  </pre>
  
  <p>The console.log part that shows the json_results is fine, exactly what I want.</p>