recursive aggregation structure for service calls