Store categories as set; add JPA annotation for collections