added serialization support for DateTime fields