remap id and title to value and label