Change approach of toSendObj