Move escape tokenize routine to a function