title: Javascript - Iterate the properties of an object and change them
body: <p>I wish to iterate over an object's properties and change them all to include <code>""</code> around the value stored in them. 
  This object is passed to a REST call and the above format must be enforced. I prefer to handle the addition of <code>""</code> in a central location, rather when assigning the actual values (the code is very complex and long).</p>
  
  <p>I know that you can iterate through the object's properties easily:</p>
  
  <pre><code>$.each(queryOptions, function(obj){console.log(obj)})
  </code></pre>
  
  <p>However, can I somehow get reference to the actual property and set it from within the iteration? </p>
  
  <p>Input:</p>
  
  <pre><code>queryOptions.value1 = 1234;
  queryOptions.value2 = "testing";
  queryOptions.value3 = 555;
  </code></pre>
  
  <p>Desired output:</p>
  
  <pre><code>queryOptions.value1 = "1234";
  queryOptions.value2 = ""testing"";
  queryOptions.value3 = "555";
  </code></pre>
  
  <p>Thanks</p>