msg.payload = myObject('DGWZ_temp_offset');
node.send(msg);
return null;
function myObject(key){
let value = global.get(key);
return = {key.valueOf():value}; ????????
}
result should be {'DGWZ_temp_offset':value}
your help is very much appreciated.