You could use the C# code from DAM to parse the names, etc. It’s all done for you and loaded into a DataSet ready to display. The parser also is pretty much guaranteed to work with discovery because I wrote it for it. You can find the DAM source code on the starport-forge project page.