size_t is a bad idea when serializing