modified the directory listing endpoints to use the gen-query API listing functions in clj-jargon