Added string check to Twig renderer alias auto adding