Get rid of Spring dependency by implementing our own case insensitive map