just send the hash over the network. don't worry about serializing it.