remove some whitespace
Show template filename when throwing simplejson exception