title: Nested JSON output to HTML table
body: <p>I'm trying to convert this nested json output into a html table :</p>
  <pre><code>{
    &quot;language&quot;:&quot;en&quot;,
    &quot;retrieved_url&quot;:&quot;https://www.canlii.org/en/ca/scc/doc/1986/1986canlii46/1986canlii46.html?autocompleteStr=r%20v%20oakes&amp;autocompletePos=1&quot;,
    &quot;semantic_roles&quot;:[
      {
        &quot;action&quot;:{
          &quot;normalized&quot;:&quot;be charge&quot;,
          &quot;text&quot;:&quot;was charged&quot;,
          &quot;verb&quot;:{
            &quot;tense&quot;:&quot;past&quot;,
            &quot;text&quot;:&quot;charge&quot;
          }
        },
        &quot;object&quot;:{
          &quot;text&quot;:&quot;with unlawful possession of a narcotic for the purpose of trafficking, contrary to s. 4(2) of the Narcotic Control Act&quot;
        },
        &quot;sentence&quot;:&quot;\u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 Respondent was charged with unlawful possession of a narcotic for the purpose of trafficking, contrary to s. 4(2) of the Narcotic Control Act, but was convicted only of unlawful possession.&quot;,
        &quot;subject&quot;:{
          &quot;text&quot;:&quot;Respondent&quot;
        }
      },
  </code></pre>
  <p>The output should look like this (I only want the subject[text], action[text], object[text]) as columns:</p>
  <pre><code>| Subject    | Action      | Object                       |
  |------------|-------------|------------------------------|
  | Respondent | was charged | with unlawful possession ... |
  |            |             |                              |
  |            |             |                              |
  </code></pre>