Replace keys by setting value