Make DatabaseHandler able to turn dictionary into DatabaseInfo