add xml and object serialize and deserialize case