code: function gatherHeaders(item) {
      var ret, i, l;
      if (isHashArray(item)) {
          //lets assume a multidimesional array with item 0 bing the title
          i = -1;
          l = item.length;
          ret = [];
          while (++i < l) {
              ret[i] = item[i][0];
          }
      } else if (isArray(item)) {
          ret = item;
      } else {
          ret = keys(item);
      }
      return ret;
  }
docs: get headers from a row item