Use the correct XML serializer

Closes #66