NonTerminalSymbol is a str
fixes dict order bug in python 3.4