Call to undefined method Twig\Environment::displayUseJson()