Hibernate models and rest endpoints for LabelCategory