title: JSON returning undefined values
body: <p>I have a problem with a <code>json</code> output values returning undefined.</p>
  
  <p>JSON:</p>
  
  <pre><code>[ { ID: 2, user: 'ngx.daniel', password: 'password', admin: 'F' } ]
  </code></pre>
  
  <p>CODE:</p>
  
  <pre><code>console.log(res);
  res = JSON.stringify(res);
  console.log(res);
  var user = {};
  user.user = res.user;
  user.password = res.password;
  user.admin = res.admin;
  console.log(user);
  </code></pre>
  
  <p>OUTPUT:</p>
  
  <pre><code>[ RowDataPacket { ID: 2, user: 'ngx.daniel', password: 'password', admin: 'F' } ]
  [ { ID: 2, user: 'ngx.daniel', password: 'password', admin: 'F' } ]
  { user: undefined, password: undefined, admin: undefined }
  </code></pre>