Switched back to XML, removed JSON serialization from serializer
Removed serializetype from the rest of the code, comments