simplify map[string]struct