Updated all serialization to use XML instead of binary format