Do you think the lower function might help? I am having problems understanding a concrete case, but if you lowercase two parameters that get compared it might help?
And no, there is no such config option that lowercases everything that I know of… would be nice for simple compares.
This is outside the scope of this support issue, but perhaps there should be a feature request for it? You can make APIs with Hugo, this would be useful for some