var inArray = JSON.parse(value);
var nameMap = {"1":"MAC", "2":"CPU", "3":"PHY"};
var outArr = [];
inArray.forEach(function(item, i, arr) {
item["{#ZYXEL.TEMP.ID}"] = nameMap[item["{#SNMPINDEX}"]] 
outArr.push(item)
});
return JSON.stringify(outArr);
