Refactor JSON output in transmit case, include full text for each message part.