remove unnecessary properties from DeviceTree