There seem to be multiple places in the file where the tags are read into the dict and exactly the same code is repeated (`ex_describe_tags`, `_to_node`, `_to_network`, etc.)

It would be great if this functionality could be refactored in a separate function and re-used.