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