remove dangling commas in object templates
removed added newline
Merge pull request #495 from phiat/master

remove dangling commas on template objects, whitespace