Fix the deprecation notice on the TreeBuilder added in Symfony 4.2
Fix the deprecation notice on the TreeBuilder added in Symfony 4.2

See https://symfony.com/blog/new-in-symfony-4-2-important-deprecations

symfony-bundles/json-request-bundle