How to write the script on JSON to XML file using an Cucumber framework ?