the typeCacheIgnoreCase dict needs to be initialized with StringComparison.InvariantIgnoreCase