Wrap remaining plain text output in json messages