I would be great to have the ability to remove not permitted attributes. For example:
const params = { age: 25, foo: "bar" }
const rules = { age: { type: "int", max: 200 } }
const errors = parameter.validate(rules, params)
make params to be equal to {age: 25}, not to {age: 25, foo: "bar"}.