CMS-2858 Create AggregationsJson

Created json for TermsAggregation with friends