Parse categories, sub and sub sub