Convert the passed attr to a BetterDict if the value is a dict

        Returns: The new value of the passed attribute.

def __dict_to_BetterDict(self, attr):
        """Convert the passed attr to a BetterDict if the value is a dict

        Returns: The new value of the passed attribute."""
        if type(self[attr]) == dict:
            self[attr] = BetterDict(self[attr])

        return self[attr]