Add symfony profiler on API methods