     for key in @constructor.id_mapping_scope
       @on "change:#{key}", @updateIdMapping
 
-    @resetRaw(@options.raw) if _.isArray(@options.raw)
+    @resetJSON(@options.raw) if _.isArray(@options.raw)
 
   generateCid: =>
     unless @constructor.collection_name

      @model_ids = @model_ids.slice(0, index).concat(@model_ids.slice(index+1, @model_ids.length))
    @model_ids.length

  appendRaw: (resources_attribtues = [], options = {}) =>
    return [] unless resources_attribtues?.length

    models = for attrs in resources_attribtues
      model = @constructor.buildModel(attrs)
      @model_ids.push(model.cid)
      model

    @trigger('append:complete', models) unless options.silent
    models

  prependRaw: (resources_attribtues = []) =>
    return [] unless resources_attribtues?.length

    models = for i in [resources_attribtues.length-1..0]
      attrs = resources_attribtues[i]
      model = @constructor.buildModel(attrs)
      @model_ids.unshift(model.cid)
      model

    @trigger('prepend:complete', models)
    models

  prependIds: (model_cids...) =>

  fetch: (params = {}, options = {}) =>
    throw new Error("You need to define #{@constructor.name}::fetch(params, options)!")

  empty: =>
    @model_ids = []
    @trigger('reset', [])
