backend services return metadata with next id for pagination