Uses an OrderedDict to preserve ticket ordering
Who needs utf-8 anyway
Misc changes don't look at me no bug here