fixed #917

Allow handlebars `each` to iterate over `keys` in object