json + upload

added option to upload to cloud
added json for file tree result