Basic structure of parse tree in; need to sort out embedded docs