title: Remove quotes from a json object value
body: <p>I am using <code>Woocommerce API</code> in node js to import product data from <code>mssql server</code> db to my woocommerce database.</p>
  
  <p>The recordset, I am getting through ms sql query, contains a <code>images field</code>. </p>
  
  <p>In Woocommerce API, to import images I need this type of <code>json object</code>,</p>
  
  <pre><code>var data = {
    product: {
      title: 'Premium Quality',
      type: 'simple',
      regular_price: '21.99',
      description: 'Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.',
      short_description: 'Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.',
      categories: [
        9,
        14
      ],
      **images: [
        {
          src: 'http://example.com/wp-content/uploads/2015/01/premium-quality-front.jpg',
          position: 0
        },**
        {
          src: 'http://example.com/wp-content/uploads/2015/01/premium-quality-back.jpg',
          position: 1
        }
      ]
    }
  };
  </code></pre>
  
  <p>Rest is fine, but I have issue with images, As I am getting images json in quotes <code>images: '[{...}]'</code> as the data type is varchar in db table. </p>
  
  <p>Because of this quotes, Images are not inserting in db through Woocommerce rest API.</p>
  
  <p>I want to remove the quote from images specifically. Or any other suggestion.</p>
  
  <p>I am new to node js. Can any one please help.</p>