aditya_gupta41 - thank you for the sample data. I believe the attached pipeline will do what you're looking for. You will need to download, unzip, and upload the file into your org. You can attach the Mapper and JSON Splitter to either the Single Record or Multiple Records snaps (JSON Generator) and it produces the requested output. The first thing to understand in the Mapper is the use of the sl.ensureArray() method, which returns the argument as an array even if it isn't one... this is helpful in the next snap. I'm also moving the xmlns:soap and xmlns:ns1 values to the root of the JSON document so they can carry through to the final output.
Next, the JSON Splitter snap will take each array element and make a new JSON document. I'm using jsonPath() to get all "field[*]" entries across the multiple records. Also, the "Include scalar parents" is checked to make sure we carry through the "soap" and "ns1" values to the output.
Hope this helps!