Added support for querying collection names for given database