Avoid error when date in JSON data has no 'date-parts'.