change format='date' objects to use datetime.date representation