Code to parse "chunked" output and only display the cleaned-up data