Toggle between string and keyword (fixes #173)