I had a javascript array that was rendering components using array.map. I switched this array to an es6 Map in order to be able to use key-value pairs
array.map
Map
another option, where options is an es6 Map() ..
options
{ [...options].map((entry) => { let key = entry[0] let value = entry[1] return { value } }) }