powered by
utility function to remove empty keys
remove_empty_keys(dict)
a flat or hierarchical dictionary