Remove RestCodec's identityref handling