set node value to empty object when null