title: change string to an object
body: <p>I was wondering how I can transform a string into an object.</p>
  <p>Here is the string:</p>
  <pre><code>&quot;{components: [\n  {\n    type: 'textfield',\n    label: 'FirstName',\n
     key: 'firstName',\n    input: true\n  },\n  {\n    type: 'textfield',\n 
    label: 'LastName',\n    key: 'lastName',\n    input: true\n  },\n 
    {\n    type: 'email',\n    label: 'Email',\n    key: 'email',\n 
    input: true\n  },\n  {\n    type: 'button',\n    action: 'Submit',\n  
    label: 'Submit',\n    theme: 'primary'\n  }\n]}&quot;
  </code></pre>