Yeah, but their inversion is representative of them as a person: intrusive thoughts are a reinforcement mechanism; your brain telling you what's inappropriate. This form of Tourette’s makes you act on your (verbal) intrusive thoughts.
This means the slurs indicate that he's not a racist. A racist with this form of Tourette’s would not consider slurs the epitome of inappropriate behavior.
That's why they make sense in code and config files. JSON is neither, despite the insistence of far too many people to write configuration in it.