Add LoadDatabaseToStringMap utility function