Split stdout and stderr lines into separate entries