macro handles greedy match "."
convert hbs style array index notation with ftl