make makeqstrdata.py more pythonic

replace list-of-tuples with a dict