[db] copy names fields from tfmdata and insert fallbacks for broken names