simple term-to-json parsing for file lists