expandFunctionCalls

Executes queued function calls and expands their content based on their output.