     else
       createList column.name, data
 
-convertTableToFrame = (table, metadata) ->
+convertTableToFrame = (table, tableName, metadata) ->
   #TODO handle format strings and description
   vectors = for column, i in table.columns
     convertColumnToVector column, table.data[i]
-  createDataframe table.name, vectors, (sequence table.rowcount), null, metadata
+  createDataframe tableName, vectors, (sequence table.rowcount), null, metadata
 
 combineTables = (tables) ->
   leader = head tables

              else if meta.schema_type is 'Frame'
                record[k] = v.key.name
              else
                inspectObject inspections, k, origin, v
            else
              console.log "WARNING: dropping [#{k}] from inspection:", v
          else
            record[k] = v

    inspections[name] = inspectRawObject_ name, origin, name, record

  extendModel = (model) ->
    inspections = {}


    record = {}

    inspections[name] = inspectRawObject_ name, origin, name, record

    for k, v of obj when not blacklist[k]
      if v is null
        record[k] = null
      else
        if v.__meta?.schema_type is 'TwoDimTable'
          inspections["#{name} - #{v.name}"] = inspectTwoDimTable_ origin, "#{name} - #{v.name}", v
        else
          if isArray v
            inspections[k] = inspectRawArray_ k, origin, k, v
