Issue 9480 - Template name should be stripped of parameters in JSON output

http://d.puremagic.com/issues/show_bug.cgi?id=9480