Fixed the serialization of time.Time.