title: Convert map variable to dict format
body: <p>My code is returning the value of info as follows</p>
  <p><code>info: '[map[usa:map[DrRegions:uk region:usa region_key:usa] uk:map[DrRegions:usa region:uk]]]'</code></p>
  <p>How do i convert &quot;info&quot; to the below format</p>
  <pre><code>info:
     usa:
        DrRegions: uk
        region: usa                
     uk:
       DrRegions: usa
       region: uk
  </code></pre>
  <p>I tried using toYaml and it returns not what i am expecting</p>
  <p><code>regionInfo: 'usa: DrRegions: uk region: usa uk: DrRegions: usa region: uk</code></p>