This should be handled fine now by .dir-locals.el, so need to carry that stuff in every file.
The hash operations are not really that specific to hashmaps, hence split them into a .c module of their own.