     insertObject = this.request.body
     
     for key of insertObject
+      return throw new Error "Invalid Import Object" if key not of collections
       insertDocuments = insertObject[key]
       for doc in insertDocuments
         try

    for key of collections
      exportObject[key] = yield collections[key].find().exec()
    this.body = [exportObject]
  catch e
    utils.logAndSetResponse this, 500, "Could not fetch specified metadata via the API #{e}", 'error'


# API endpoint that inserts metadata from import

          }
        
    this.body = returnObject
    this.status = 201
  catch e
    utils.logAndSetResponse this, 500, "Could not fetch all users via the API #{e}", 'error'
    this.body = e.message
    this.status = 400
