Serialize DateTime without millis; add a test