title: Add missing opening / closing quotation mark (fix user error)
body: <p>I am trying to build a small utility in javascript that can fix user input errors.
  The user is supposed to enter a string in the following format:</p>
  <p>example: <strong>object1:&quot;key1 key2&quot; object2:&quot;key3 key4&quot; object2:&quot;key5&quot; object2:&quot;key6 key7&quot;</strong>
  What I am trying to create is a logic that will find missing quotation marks (either opening or closing) on the keys, in case the user forgot to add it.</p>
  <p>possible error case would be: <strong>object1:&quot;key1 object2:&quot;key2&quot;</strong> which should be fixed with by adding a closing &quot; to the key1 object.</p>
  <p>I'm a coding beginner and I am not looking for a ready solution, but helpful suggestions how I can approach this. Thank you so much!</p>