Fixed date serialization issue