added formatting and direction info to the device tree table