Elastica\ResultSet - hasAggregations() method - check if aggregations exist in result set
Global/Aggregation - empty array is retuned in JSON as [] insetad of {}