added loop in collection support for handlebars