Process the header and data rows separately then union and dynamic rename for the columns. Possible difference is that mine selects the header and data rows based on JSON names as opposed to positions. Solution should tolerate adding and removing fields and records
Edit: After looking at the later solutions, I see that most solutions use the JSON names as opposed to record positions. No
"Look at me...I'm special" badge for me today.
Nothing to see here, folks. Move along!