Changed time_t to uint64_t for serialization