add transformation of template names compliant with routes convention