using serializer for all messages