first pass at reading tree objects

need to fix the parser for individual objects