My codec needs to know the matched content type, so I changed contentTypeCodecWrappeer to add that to the options passed to Marshal