title: File structure listing as Json
body: <p>How can I get a local directory listing as a Json?</p>
  
  <p>So If I provide a folder, I want to see all its subfolders and files in a json tree type object.</p>
  
  <p>Please note: I don't want just the list with file paths.<br>
  Thank you!</p>