XDR Serializer implementation