handle hbs arrays indices in tokens