Create Lisp-like tree representation