Reading tree objects (WIP)