overwrite keys of xml elements