Reverse key and value for path replacement maps, so that we can have two template items with the same value