Simplify AST structure. Back conversion to SExpressions.