added DateTime and DateTime? serialization