Change the key function to create a plain JS object instead of an object with a null prototype.