new function get_db_list that returns an array of available databases and collections