expanding json schema to include categories and risk at sub_annotation level