db: adding get_collection_names() in preparation for tokenizing and replication.