Add `Twig#branches_json`