Yeah, the joining of lines would be different for HTML. Also, if something wanted to consume the output of this command, it'd be easier to handle it as a list of strings because it is (slightly) more structured and would behave like an open Python file.