[Bug 47041] wire_marshal attribute ignored and the underlying type is used instead