Fix date field in json.