Converts JSON to XML and XML to JSON using Antlr