a proper content tree, ready for the compiler