1st utility adds/removes nested dict based on nested dict count(/nil)