Support `Twig#set_option(:format, 'json')`