add date field to json