function transformDatasetForKepler(data, id) {
  const {fields, columns} = data;
  // field name in `fields` is 'dataType' instead of 'type'
  const _fields = fields.map(d => ({
    ...d,
    type: d.dataType,
  }));
  const rows = transposeData(columns);

  // duplicate datasets since no per-layer filtering is supported T3638323 https://github.com/keplergl/kepler.gl/issues/403
  // todo: do not limit to only 2 datasets
  return {
    info: {id},
    data: {fields: _fields, rows},
  };
}
transform manifold dataset to kepler-compatible format
@param {Object} data manifold dataset with {columns, fields}
@param {String} id kepler dataset id