Added xdt:Locator="Match(key)" to the keys, otherwise replacement doesn't happen