list_metadata: support folder (for report, document ...)