Using deserializer for messages