handle select options as an array of objects.