     }
 }
 
-public func fetchBerryFirmnessList() -> Promise<[PKMBaseObject]>{
+public func fetchBerryFirmnessList() -> Promise<PKMPagedObject>{
     return Promise { fulfill, reject in
         let URL = baseURL + "/berry-firmness"
         
-        Alamofire.request(.GET, URL).responseArray { (response: Response<[PKMBaseObject], NSError>) in
+        Alamofire.request(.GET, URL).responseObject() { (response: Response<PKMPagedObject, NSError>) in
             if (response.result.isSuccess) {
                 fulfill(response.result.value!)
             }else{

}

// MARK: Classes
public class PKMLanguageObject: Mappable{
    public var name: String?
    public var language: PKMBaseObject?

            
        }
    }
}

