Finalize text output of parser.