title: How to overwrite values using jquery or javascript?
body: <p>I want to over write values such that only existed variables are changed but not adding any additional varaible.</p>
  
  <p>For example:</p>
  
  <pre><code>    rectangle : {
          "width" : 0,
          "height" : 0,
          "r" : 0,
          "stroke" : "#000000",
          "stroke-width" : 1,
          "stroke-dasharray" : "No",
          "fill-opacity" : 1.0,
          "stroke-opacity" : 1.0,
          "rotation" : 0,
          "transform" : ""
      }
  </code></pre>
  
  <h2> Need to overwirte with</h2>
  
  <pre><code>    _newProperties = {
          "stroke" : "#FFFFFF",
          "strokewidth" : 3,
          "stroke-dasharray" : "No",
          "font-size" : 12,
          "font-weight" : "normal",
          "font-style" : "normal",
      },
  </code></pre>
  
  <h2>Result should be: (font shouldn't be appended)</h2>
  
  <pre><code>    rectangle : {
          "width" : 0,
          "height" : 0,
          "r" : 0,
          "stroke" : "#FFFFFF",
          "stroke-width" : 3,
          "stroke-dasharray" : "No",
          "fill-opacity" : 1.0,
          "stroke-opacity" : 1.0,
          "rotation" : 0,
          "transform" : ""
      }
  </code></pre>