return Model::paginate() is a default implementation and it returns JSON as explained in the…

Sure, but this does not mean that your API has to return the data the same way.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.