The response() helper function returns \Illuminate\Http\Response::class, so you are right to put that in the doc block. And yes, json serialization happens after returning the Response class from the controller.
As long as the client making the request accepts json, nothing is wrong here.