fix: reimplement categories collection, to separate UI object and indexing object.