Forcing $category to be of JCategoryNode in routing