Rename 'term' key to 'label' in term_api