import json
create aggregate