title: Groovy - to string that passes Eval.me
body: <p>I would like to be able to turn strings to object back and forth in groovy. </p>
  
  <p>For example </p>
  
  <pre><code>def mapString = "['guy':'mograbi']"
  def myMap = Eval.me(mapString)
  def savedString = myMap.toString()
  def savedMap = Eval.me(savedString)
  </code></pre>
  
  <p>the last line fails because <code>toString</code> does not output a String I can evaluate. </p>
  
  <p>How can I turn the map to a string I can evaluate? </p>