Pull traverse_dict out so it can be used by ckminions