fix interpolation for model methods

this fixes the case where you have a template like this:

```html
<h1>{name}</h1>
```

and the `obj` you are working with happens to a model with a `name` getter-setter method