Initial work done for XML to JSON converter.