Need advice on formatting a data table

In SAP/ERP I am capturing the below error messages and inserting into a data table using the ‘Extract Structed Data’ activity. I need to Send these Error message in a JSON file.

After i Deserialize the string this is what i have to send in a JSON.

image

My Problem is the layout of the JSON file. It looks like all 4 error messages in the “Message Text” are lumped into Column-0 in the string. To send the JSON back like this would work but its not the correct/standard JSON formatting.

Could anyone please point me in the right direction on how to format this string so that each error is in its own Object. My goal is something like below

You could try to get the table items with For Each UI Element or Find Children. Or check if the modern table extraction gives you better results (an actual table).