code: function scriptToString(data) {
    var script = [];
  
    data.forEach(function dataEach(step) {
      var key, value;
  
      if (typeof step === 'string') {
        script.push(step);
      } else if (typeof step === 'object') {
        key = [Object.keys(step)[0]];
        value = step[key];
        if (value !== undefined && value !== null && value !== '') {
          key = key.concat(value);
        }
        script.push(key.join(TAB));
      }
    });
  
    return script.join(NEWLINE);
  }
docs: Convert script objects into formatted string