fix binary serialization for xml