Fix getCollectionNames so result is the second arg of callback