title: How do I convert JSON hierarchical tree data into a two dimensional table using jq?
body: <p>I have a <strong>hierarchical</strong> tree of JSON data as per the example below, and I need to convert this into a two dimensional table in text format, with the semantics of SQL join.</p>
  
  <p><em>Note: there are answers to the question "How do I convert data in a two dimensional JSON array into a two dimensional table in text format", this question is about hierarchical JSON data, not two dimensional arrays.</em></p>
  
  <p>The input JSON:</p>
  
  <pre><code>[
      [
          [
              [
                  "machine.example.com"
              ],
              [
                  {
                      "VolumeId": "vol-070061259e62b931d",
                      "AttachTime": "2017-11-29T00:58:46.000Z",
                      "DeleteOnTermination": true,
                      "Status": "attached"
                  },
                  {
                      "VolumeId": "vol-070b6ecf34107389f",
                      "AttachTime": "2017-11-29T00:58:46.000Z",
                      "DeleteOnTermination": true,
                      "Status": "attached"
                  },
                  {
                      "VolumeId": "vol-0d6188182333509a2",
                      "AttachTime": "2017-11-29T01:30:51.000Z",
                      "DeleteOnTermination": false,
                      "Status": "attached"
                  },
                  {
                      "VolumeId": "vol-0653708f578c13e36",
                      "AttachTime": "2017-11-29T01:31:06.000Z",
                      "DeleteOnTermination": false,
                      "Status": "attached"
                  }
              ]
          ]
      ]
  ]
  </code></pre>
  
  <p>The desired output:</p>
  
  <pre><code>machine.example.com vol-070061259e62b931d
  machine.example.com vol-070b6ecf34107389f
  machine.example.com vol-0d6188182333509a2
  machine.example.com vol-0653708f578c13e36
  </code></pre>
  
  <p>Can jq do this?</p>