server/list now returns structured directory tree instead of flat filelist