I am working on a small modulw which takes a complex xml as input and formats it in a particular way in json… Not all the fields from the xml would come in the json and there are fields in the columns in different nodes which would be under one object in json… Is there an optimized way to do so.