Easier ElasticSearch aggregation queries in PHP