aggregations are supported if they are the root level node. not fully implemented yet, though - still have some naming stuff to work out for intermediate results