in HayooIndexer in JSON output duplicates of functions removed, but not yet tested