In the code below I want to create a new AWS-glue/spark DynamicRecord.
Corrupt data is coming in and I have extracted it using regex.
In the for loop below, ea