Revert "Removed XStream. Better with pure Java."

It's better to use a 3. party library as it handles cornercases as
linebreak and illegal characters
This reverts commit 324b0f697fc2becb7ea172fb03ef5a130a69de89.