Update listNamesResult to use Go data types