Pretty print the device list from the database.