Added XML conversion

* Changed the JsonConverter class to also have conversion methods for
XML, and renamed it DataConverter