KAZOO-2710: fix the argument order
KAZOO-2710: update the views to return the template name if present