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

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

      exportObject[col] = yield collections[col].find().lean().exec()
      for doc in exportObject[col]
        if doc._id
          doc = removeProperties doc

    this.body = [exportObject]
    this.status = 200
