transforms objects into device tree source format