title: Parse string having key=value pairs as JSON
body: <p>My node app receives a series of strings in the format <code>"a=x b=y c=z"</code> (i.e. a string containing several space-separated <code>key=value</code> pairs).</p>
  
  <p>What is the neatest way of converting such a string into a JSON object of the form <code>{a: x, b: y, c: z}</code>?</p>
  
  <p>I'm betting that there's a one-line solution, but haven't managed to find it yet.</p>
  
  <p>Thanks.</p>