title: Add new attribute to JSON string
body: <p>What i can to do is extend my JSON object with a new attrubute. </p>
  
  <p>E.g </p>
  
  <pre><code>  var jsonText = {
              "Repeats": 1,
              "Trials": 4,
              "GroupName": "Mobile phones",
              "targets": [
                      {
                          "name": "Apple",
                      },
                      {
                          "name": "Samsung",
                      }
                  ]}
  </code></pre>
  
  <p>What I would like to end up with is the inclusion of a new item so extend the object so it then looks something like.</p>
  
  <pre><code>  var jsonText = {
              "NewItem" : NewValue,
              "Repeats": 1,
              "Trials": 4,
              "GroupName": "Mobile phones",
              "targets": [
                      {
                          "name": "Apple",
                      },
                      {
                          "name": "Samsung",
                      }
                  ]}
  </code></pre>