Serialize dates as long values so as to preserve milli-seconds as well