Added code to facilitate rejecting a message that cannot be deserialized.
Transformation should always ignore serialization failures.