Using the list command helpers

For listIndexes and listCollections

JAVA-1455 JAVA-1456