title: neo4j/cypher: inline conversion of string to a map
body: <p>this might be obvious, but not to me:
  I have a JSON object has a property that contains stringified JSON (don't ask why, it just has to be that way)
  when I UNWIND the object and grab that property (key) is there a way to convert to a map inline to the cipher query?</p>
  
  <pre><code>WITH {input} AS S
  UNWIND S AS stat
  WITH stat.key.str as K, stat.value as value
  UNWIND K as key
  RETURN key, value
  </code></pre>
  
  <p>returns:</p>
  
  <pre>key                                                                          value    <br>
  -----------------------------------------------------------------------------------------  <br>{"role":"consumer","ipproto":"TCP","l7proto":"tcp:80","port":80,"dir":""}      156        <br>{"role":"consumer","ipproto":"TCP","l7proto":"tcp:443","port":443,"dir":""}    223        <br>{"role":"consumer","ipproto":"TCP","l7proto":"MSN","port":1863,"dir":""}    106208<br></pre>
  
  <p>is it possible to parse/load the string value in key to read it as a map or do I have to convert it outside the cypher query?</p>
  
  <p>apologies - I am noob to both neo4j and cypher...</p>