impr: replace parse_owned_string with a closure
impr: replace parse_owned_string with a closure

Replace the `parse_owned_string` function with a closure for mapping.

uiri/SEGIMAP,uiri/SEGIMAP,indiv0/SEGIMAP,uiri/SEGIMAP,indiv0/SEGIMAP,indiv0/SEGIMAP