Removed support for XML serialization and use JSON instead.

Fixes #12