ensure dates come back ok after serialization