remove buffering step from sendMessage/marshall code