handling {{#with}} changing execution scope context in freemarker