Can't loop in nested dictionary : TypeError: argument of type 'bool' is not iterable