[Bug 14078] New: Rewrite typelib marshaller on top of NDR functions