Object.entries(obj) .filter(([key]) => !['blacklisted', 'keys'].includes(key)) .reduce((obj, [key, val]) => Object.assign(obj, { [key]: val }), {});