Test send js object from node.js to client. Methods not send. How?