convert dates to datetime objects in table.cast_row