How do I create a variable moustache variable?

Take this code for example:

title: 'Hello',

The variable is called title and the value is hello. I would be able to call it via

{{ title }}

and get the result.However, recently I needed to create a variable variable. I do not want the name of the variable to be static yet dynamic.

var nameIWant = "blah";
...
nameIWant: 'Dynamics!',
...

If I was to call {{ blah }} it would not work, however, calling {{ nameIWant }} does

How do I fix this? Is it possible?

You can't de-reference variables like this. Moustache is intentionally very simple and this is anything but.

You'll have to do the remapping at the source level, as the template engine can't do it for you.