Only use JSON as format

Removed notion of XML, just use JSON as format. Also see issue #4