There is probably a nicer way to do this, basically it's a mapping from integers to strings, defaulting to `'unknown'` if the integer isn't in the list. I could hack it using a dictionary, but I figured I'd see if people knew a cleaner way first.