docs: function csvParser(input) {
          var data = input.data;
          if (! (data instanceof Array)) data = Util.o2a(data);
  
          if (! data.length) return "";
          var header = {
              c: 0,
              index: {},
          };
          var output = "";
  
          for (var i in data) {
              updateHeader(header, data[i]);
              output += formatRow(header, data[i]);
          };
  
          return {
              ctype: "text/csv",
              data: renderHeader(header)+output,
          };
  
      }