title: Groovy object properties in map
body: <p>Instead of having to declare all the properties in a map from an object like:</p>
  
  <pre><code>prop1: object.prop1
  </code></pre>
  
  <p>Can't you just drop the object in there like below somehow? Or what would be a proper way to achieve this? </p>
  
  <pre><code>results: [
      object, 
      values: [
          test: 'subject'
      ]
  ]
  </code></pre>