A Restful Hook for Symfony 2, turn any controller into an endpoint