_text = "--->""<---";
which is technically a broken string.
and makes it very hard to parse the data externally.
Just this simple change would go a long way for helping improve performance of many extensions that want to read structured data from the game, without doing hacks like calling toArray on strings.
Maybe introduce a new version of the str command, that produces a parser friendly syntax of the data.