title: groovy assign map based on shell script
body: <p>I have a bash script that returns something like this:</p>
  
  <pre><code>{
    "key1": "value1",
    "key2": "value2"
  }
  </code></pre>
  
  <p>I need to get those values saved as a map in groovy. How do I get that returned value stored as a groovy map?</p>