Jan-22-2019, 05:29 PM
I'm not sure what exactly you're looking for in an answer here. That said, if I were to do what you've described you want, I'd just have a JSON file essentially containing a dict which maps the IDs to the human readable alias. As another hint, I'd likely use dict's get method rather than regular indexing or checking ahead of time so that un-aliased IDs show in the right way.