Seralize the payload with XStream.
Wrap serialization errors in our custom exception type.
Trim down the Util static class.
Removed unneeded static class.