XQJ: improving serialization