           if key not of collections
             throw new Error "Invalid Collection in Import Object"
           
-          uidObj = exports.getUniqueIdentifierForCollection key, doc
+          uidObj = getUniqueIdentifierForCollection key, doc
           uid = uidObj[Object.keys(uidObj)[0]]
           result = yield collections[key].find(uidObj).exec()
           



#Function to remove properties from export object
exports.removeProperties = (obj) ->
  propertyID = '_id'
  propertyV = '__v'


              status = 'Valid'
          
          logger.info "User #{that.authenticated.email} performed #{action} action on #{key}, got #{status}"
          returnObject.rows.push buildResponseObject key, doc, status, '', uid
          
        catch e
          logger.error "Failed to #{action} #{key} with unique identifier #{uid}. #{e.message}"
          returnObject.rows.push buildResponseObject key, doc, 'Error', e.message, uid
        
    that.body = returnObject
    that.status = 201
