Accept simplified notation like "2014", "2014-2" or "2014-1:2014-12" when converting JSON to a period.