More picky version of Python dictionary. PickyDict objects will behave just like Python dictionaries, with a few notable exceptions. PickyDict has a force_lower_case attribute. and PickyDict can contain two additional dictionaries named key_replacements and key_regex_replacements with mappings to enforce translating specific key words.
copied from cf-staging / pickydict