where the message is serialized or deserialized, this must be handled