Web service to transform an indented-text to a tree-style text