REST API and N+1 issues

We all know the N+1 issue with REST API to first get a collection of ressources (1) and after run a loop to call child ressources for additional data for each objet of the first collection (N) Anybody have an idea to extend an array of objects retrieve in the first call with new data retrieve form « child N » requests? How for example merge two arrays (with same number of records) in another arrays, …? … Tips are welcome :slight_smile: