Your code isn't setting the result back in `config['whitelist_keys']`--is that intentional? If so, you can just do `whitelist = (config['whitelist_keys'] || []).push(key)`.