Alternative to globals()
# What does this PR do?

This PR does two things:
- remove some tokenizer classes that were used in a dictionary before being erased which was super weird
- add a function that goes from tokenizer class name to tokenizer class to avoid using `globals`