fixed bug in tree display - prettyPrint() and prettyPrintUnion(), updated index/table metadata sent in POST