SONAR-4941 Replace usage of template name by template key