The aggregates writer is failing due to aggregates api updates.
org.elasticsearch.search.aggregations.bucket.terms.TermsBuilder is hidding some of its members, we could configure the Object mapper to resolve it or find another solution.
Stacktrace:
org.codehaus.jackson.map.JsonMappingException: No serializer found for class org.elasticsearch.search.aggregations.bucket.terms.TermsBuilder and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS) ) (through reference chain: java.util.HashMap["coverage"]->org.nuxeo.elasticsearch.aggregate.TermAggregate["esAggregate"])