Adding key to a date range aggregation