Add helper method to access ES aggregations data