How to use composite component "data variable reference" property

I have composite component “data variable reference” property witch binded to data variable (type of object). Trying to use it in function: SET_KEY(self.var1, “name”, “Jones”). Looks like reference does not work and always returns null value.

I would appreciate any help on this.