Avoid error when date in JSON data has no 'date-parts'.
Merge pull request #14 from davidlesieur/no-date-parts

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