Added keys_only argument to the util.retrieve_dbs