You can create a Server task that generates such a list. See here: How to process parent-child data structures