time Struct serialization issues