tree now saved as JSON rather than text. validation details passed to user. starting to work on client code.
cleaned up CRUD operations on tree, now stored as a JSON object.  etc.
unsing stringify to clean up tree
added a json sample file'