title: Loading JSON from Dojo JsonRest into object variable
body: <p>According to this post <a href="https://stackoverflow.com/questions/22377359/remove-string-from-json">Remove String from JSON</a>, I want to fill a Dojo Selectbox with JSON Data. The Problem is that I have to change the JSON Data before I can handout the data to the dijit.form.select Box. </p>
  
  <p>I get the data via JsonRest. The question if, how I can load the Json Data into a normal object variable? I tried this here but it did not work.</p>
  
  <pre><code>var processStore = new JsonRest({
              target: "http://cnwin.ebusiness.local/activiti-rest/service/repository/process-definitions?startableByUser=kermit", 
              headers: {"Authorization": "Basic a2VybWl0Omtlcm1pdA=="}, 
              allowNoTrailingSlash: false
              });
  
  var processes = processStore.query("",{});
  </code></pre>
  
  <p>I simply want to load the JSON data from the JsonRest store in a normal variable.</p>
  
  <p>Thank you</p>