support {{@key}} and {{@index}} in {{#each var}}