Fix date JSON deserialization