try {
        var schema = new Schema(req.body);
        schema.plugin(mongooseInjector, injector);
        schema.plugin(jsonform, {
            excludedPaths: ['_id', '__v'] //these paths are generally excluded