How to replace a word with a predefined replacement? (many potential words)

This, for example, seems to work in a few editors, and should scale for much larger JSON dictionaries of this pattern:

Lexical alternative pasted for word containing cursor.kmmacros (5.8 KB)


Originally mis-posted an indicative example to its own thread: