symfony2 Create web services with Symfony using Rest