'Convert nested dicts to AttributeDict.
:param other: dictionary to be directly modified.'

def convert_to_attr_dict(self, other):

    for (key, value) in other.items():
        if isinstance(value, dict):
            if (not isinstance(value, base.AttributeDict)):
                other[key] = base.AttributeDict(value)
            self.convert_to_attr_dict(value)
