title: Convert plain text into object
body: <p>I have data in unordinary format <code>const variations</code> 
  <div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>const variations = {
    0: "{"productPriceLocal": "16990.00", "productId": "30028132"}",
    1: "{"productPriceLocal": "22990.00", "productId": "30028233"}"
  };
  
  // this code doesn't work
  // console.log(_.map(variations, 'productId'));</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.4/lodash.js"&gt;&lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>and I want this to convert to normal JS object like this, which with I can normally work</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>const object = {
    0: {
      productId: 30028132,
      ...
    },
    ...
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>I tried to use lodash, doesn't work well. Does Anyone know, what I should do? </p>