modified template to support vocabularies w/out root components