make REST calls work case insensitively