title: Pushing new key value pair to json
body: <p>Here is my Json output</p>
  
  <pre><code> "user_data": {
      "_id": "5806319c08756025b4c7287b",
      "email": "a@adsfd.com",
      "password": "cool123",
    }
  </code></pre>
  
  <p>How can i add a new key value pair so that i can get</p>
  
  <pre><code> "user_data": {
      "_id": "5806319c08756025b4c7287b",
      "email": "a@adsfd.com",
      "password": "cool123",
      "name" : "tom"
    }
  </code></pre>
  
  <p>I tried like this </p>
  
  <pre><code>data.push({"name": "tom"});
  </code></pre>
  
  <p>But i am always getting the </p>
  
  <pre><code> "user_data": {
      "_id": "5806319c08756025b4c7287b",
      "email": "a@adsfd.com",
      "password": "cool123",
    }
  </code></pre>
  
  <p>How can i do this. Help pls</p>