better handling of categories missing in category.json