title: Store object/array in jQuery Cookie
body: <p>How can I store an object/array in JavaScript Cookies?
  I tried that simple code </p>
  
  <pre><code>var item = { 
      price: 200,   
      company: 'Microsoft',   
      quantity: 500,
      code: 'm33'
  }
  
  console.log(item);
  Cookies.set('item', item);
  console.log(Cookies.get('item'));
  </code></pre>
  
  <p>It shows all the values in the first console message, but gives only "[object Object]" in the second. Looks like js-cookie cannot work with objects correctly. Is there any way I can fix that?</p>