When an interpolation contains a property value of an object (e.g. hero.name), then it should be able correctly extract the component.
The name of the variable should be the last property name. So, in case of hero.name the property should be called name