     /// - Returns: array of AtomaryMapable objects
     /// - Throws: MapperError
     public class func map<T: AtomaryMapable>(for key: String, _ data: Data) throws -> [T] {
-        return try array(for: key, json: try data.json(), with: T.self) as! [T]
+        return try array(for: key, json: data.json(), with: T.self) as! [T]
     }
     
     /// map function

    /// - Throws: MapperError
    public class func map<T: AtomaryMapable>(for key: String, _ data: Data) throws -> [String: T] {
        return try dictionary(for: key, json: try data.json(), with: T.self) as! [String: T]
    }
}


    /// - Returns: array of Mapable objects
    /// - Throws: MapperError
    public class func map<T: Mapable>(_ data: Data) throws -> [T] {
        return try objectsArray(type: T.self, data.json()) as! [T]
    }
    
    /// map function
