Fix output formatting and lazy pipeline.