Stringify and send over socket. then reconstruct oject at the other end