Split the getCollection function into smaller, reusable parts. This is needed to display the GTID information in `list servers`.
Split the getCollection function into smaller, reusable parts. This is needed to display the GTID information in `list servers`.