Elastica\Query  - toArray - cleanup aggs param if empty
Elastica\Aggragation\DateHistogram