Convert from TimestampValue to Time
Serialize data only if not already serialized