Here I have 2 event statistics (id=superman & id=batman) in Json format. How do I arrange it in a table format based on the id and enemy information values? This is slightly different to previous questions as for the "enemies"-key values, the "enemy_information" has the value headers while "enemy_information_values" contains a list of values matching the "enemy_information" value headers. For example, I want the result to look something like the table below. I know the data needs pre-processing, but I wanted to know if it was possible to do so via SPL commands. The reasoning to avoid pre-processing is I already have previous data with the same format that are too far back for me to re-ingest. [{ "id": "Superman", "birthName": "Kal-El", "origin": "Krypton", "enemies": [ { "enemy_information": [ "name", "location", "powers" ], "enemy_information_values": [ [ "Doomsday", "Kryptonian Prison", [ "Super Strength", "Invulnerability", "Regeneration", "Adaptation", "Enhanced Durability", "Immunity to Kryptonite" ] ], [ "Lex Luthor", "Metropolis", [ "Genius-level Intellect", "Skilled Strategist", "Advanced Technology and Weaponry", "Political Influence", "Expert in Kryptonite" ] ] ] } ] }, { "id": "Batman", "birthName": "Bruce Wayne", "origin": "Gotham City", "enemies": [ { "enemy_information": [ "name", "location", "powers" ], "enemy_information_values": [ [ "Joker", "Gotham City", [ "Genius-level Intellect", "Master of Psychological Manipulation", "Skilled Hand-to-Hand Combatant", "Expert in Criminal Psychology", "Master of Disguise" ] ], [ "Two-Face", "Gotham City", [ "Expert Marksman", "Skilled Hand-to-Hand Combatant", "Access to Advanced Weaponry", "Strategic Mind", "Psychological Trauma" ] ] ] } ] }]
... View more