Always replace it with the key, in case key is not there you can replace it with `undefined`