Allow to manage Rest Problems with Symfony2