Make UPnP object hierarchy printable.