link_alt_odb_entry: refactor string handling