Creates a stream message for sending text written to stdout/stderr streams.
function createStreamMessage(parentMessage, streamName, data) {
  var content = {
    name: streamName,
    data: data
  };

  return newMessage(_messageNames.stream, parentMessage, content);
}