Apologies; I should have done that right off the bat. Here's a subset:
{ "timestamp" => "2017-08-30T22:47:28.941Z", "clusters" => [ { "name" => "ctest-0", "displayName" => "ctest-0", "version" => "CDH5", "fullVersion" => "5.10.0", "services" => [ { "name" => "zookeeper", "type" => "ZOOKEEPER", "config" => { "name" => "scope", "items" => [ ] }, "roles" => [ { "name" => "zookeeper-SERVER-1f4f45808d60aa625175740bb799654b", "type" => "SERVER", "hostRef" => { "hostId" => "c0ffa68b-b606-44df-be2e-49500d929fd5" }, "config" => { "name" => "scope", "items" => [ { "name" => "role_jceks_password", "value" => "elided", "sensitive" => "true" }, { "name" => "serverId", "value" => "1", "sensitive" => "false" } ] }, "roleConfigGroupRef" => { "roleConfigGroupName" => "zookeeper-SERVER-BASE" } }, { "name" => "zookeeper-SERVER-a6d8e17e16ad7f53a6a495c22cd7c044", "type" => "SERVER", "hostRef" => { "hostId" => "59df5f26-4300-4ffe-a04f-56ada4534892" }, "config" => { "name" => "scope", "items" => [ { "name" => "role_jceks_password", "value" => "elided", "sensitive" => "true" }, { "name" => "serverId", "value" => "3", "sensitive" => "false" } ] }, "roleConfigGroupRef" => { "roleConfigGroupName" => "zookeeper-SERVER-BASE" } }, { "name" => "zookeeper-SERVER-a907210f06d89d5a30ec8f87e0a99117", "type" => "SERVER", "hostRef" => { "hostId" => "465ebec4-cd3b-4775-92ee-1322f446eb89" }, "config" => { "name" => "scope", "items" => [ { "name" => "role_jceks_password", "value" => "elided", "sensitive" => "true" }, { "name" => "serverId", "value" => "2", "sensitive" => "false" } ] }, "roleConfigGroupRef" => { "roleConfigGroupName" => "zookeeper-SERVER-BASE" } } ], "displayName" => "ZooKeeper", "roleConfigGroups" => [ { "name" => "zookeeper-SERVER-BASE", "displayName" => "Server Default Group", "roleType" => "SERVER", "base" => "true", "serviceRef" => { "clusterName" => "ctest-0", "serviceName" => "zookeeper" }, "config" => { "name" => "scope", "items" => [ { "name" => "zookeeper_server_java_heapsize", "value" => "1073741824", "sensitive" => "false" } ] } } ] } ], "parcels" => [ { "product" => "CDH", "version" => "5.10.0-1.cdh5.10.0.p0.41", "stage" => "DISTRIBUTED", "clusterRef" => { "clusterName" => "ctest-0" } }, { "product" => "CDH", "version" => "5.10.0-1.cdh5.10.0.p0.41", "stage" => "ACTIVATED", "clusterRef" => { "clusterName" => "ctest-0" } } ] } ], "allHostsConfig" => { "name" => "scope", "items" => [ { "name" => "memory_overcommit_threshold", "value" => "0.85", "sensitive" => "false" } ] }, "peers" => [ ], "hostTemplates" => { "name" => "scope", "items" => [ ] } }

In reply to Re^4: Recursive data structure munging - arrayrefs to hashrefs by flightdm
in thread Recursive data structure munging - arrayrefs to hashrefs by flightdm

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.