Changed serialization of asOfDate