Convert nested function calls to pipe chains
Convert nested function calls to pipe chains