My hashing code incorrectly ignored the trailing null in std::strings. (but not in c strings)
Moving serialization to a new header, serialization.h