smaz-tools: add a function for Hash in dynamically created dictionaries