Thank you,
this seems to be working to some extent, but also its adding the comma in all spaces, not only between the brackets:
example output:
,,,,,,,,,,,,"NIST 800-161,rev,1,Level,2": ["SI-20"],
,,,,,,,,,,,,"NIST 800-161,rev,1,Level,3": ["SI-20"],
,,,,,,,,,,,,"NIST Privacy,Framework,v1.0"...