Fix normalize parameters

Do you mean we should check here with `values.hasOwnProperty(key)` to define whether or not this value is set?