}
private LinkedHashMap<Attribute, Node> updateAVPVariables(Map<Attribute, Node> avp) {
LinkedHashMap<Attribute, Node> newAVP = new LinkedHashMap<Attribute, Node>();
for (Map.Entry<Attribute, Node> entry : avp.entrySet()) {
final Attribute newAttribute = variableMap.get(entry.getKey());
if (newAttribute != null) {
newAVP.put(newAttribute, entry.getValue());
} else {
newAVP.put(entry.getKey(), entry.getValue());
}