933a934,937
> # Add the name and path of this object to be able to link to
> # the stats
> d.name = self.get_name()
> d.path = self.path()
952c956,960
< d[self._children[n].get_name()] = self._children[n].get_config_as_dict()
---
> child = self._children[n]
> # Use the name of the attribute (and not get_name()) as
> # the key in the JSON dictionary to capture the hierarchy
> # in the Python code that assembled this system
> d[n] = child.get_config_as_dict()
957,960c965,967
< # Might want to actually make this reference the object
< # in the future, although execing the string problem would
< # get some of the way there
< d[port_name] = port.ini_str()
---
> # Represent each port with a dictionary containing the
> # prominent attributes
> d[port_name] = port.get_config_as_dict()