A wrapper around the stdlib 'tokenize' which roundtrips
