Updated serialization to properly serialize for xml