 Mediator = require('../model/mediators').Mediator
 User = require('../model/users').User
 ContactGroup = require('../model/contactGroups').ContactGroup
+Keystore = require('../model/keystore').Keystore
 
 Q = require 'q'
 logger = require 'winston'

          if key not of collections
            throw new Error "Invalid Collection in Import Object"
          
          uidObj = getUniqueIdentifierForCollection key, doc
          uid = uidObj[Object.keys(uidObj)[0]]
          result = yield collections[key].find(uidObj).exec()
          
          if action is 'import'
            if result and result.length > 0 and result[0]._id

  Mediators: Mediator
  Users: User
  ContactGroups: ContactGroup
  Keystore: Keystore


#Function to remove properties from export object
