Allow date-parts reading RefDate from JSON.