Yes, that has the advantage that it only removes features from JSON filetypes, but the disadvantage of having to edit the config to turn it back on. Swings and roundabouts[^1] really, but its another workaround.
[^1]: https://www.collinsdictionary.com/dictionary/english/swings-and-roundabouts