Agrregation queries taking long

What are the root level docs? I can see you are using nested in the agg so presumably each root doc can have more than one employee. How many employees are there per root doc?

Have you done an estimate of how big the JSON response would be ?