Serialised Package to send the whole objects through sockets.