Fix normalize parameters

Shouldn't there be another check here `value === null`?
The way I see it - a param that is required should not be undefined, empty string or null. But a param that is _not_ required can be empty string or null, but not undefined.