How to transfer connection settings, recent and saved queries from one machine to another from backup files

My computer just fried its motherboard and replacement parts are not available. I have a Time Machine backup of the system. I would like to transfer all my Mongodb compass settings from the Time Machine backup to the new machine. How can I do this? In particular I am struggling to get the database connections migrated as the password won’t transfer. I was able to locate the connection JSON files in ~/Library/Application Support/MongoDB Compass/Connections. I copied them to the new machine (which has Compass installed) however it complains that the password is blank when connecting. I was able to copy the Favorite Queries, Recent Queries, and saved pipelines but if the connections aren’t active these don’t work. Any help would be appreciated as long as it doesn’t require launching that machine to export connections, it won’t boot.