fix xml byte[] serialization