Revert "Serialization before message sending"

This reverts commit ecc51220947709d7c9a10462aef711e500bd846d.