How can I create key value pair for dropdowns?