Serialization - Class indexes ignore category

this is still an open issue I guess. just not with pads, but with types.

anyway, recently had a similar issue again. vanilla json serialization helped me work around it while vanilla xelement didn’t