Corrected Date serialization/deserialization with MongoDB option