var inArray = JSON.parse(value);
var outArr = []
inArray.forEach(function (item, i, arr) {
    item['{#ZYXEL.SLOT.ID}'] = item['{#SNMPINDEX}'].split('.')[1];
    item['{#ZYXEL.SENSOR.ID}'] = item['{#SNMPINDEX}'].split('.')[2];
    outArr.push(item)
});
return JSON.stringify(outArr);
