date aware serialization