I am going to start with XD-1807 next to this PR. Hence, I will address the pagination support for both ModuleMetadata/ContainerAttributesRepositories there.