score:0

convert your data with this simple routine:

const objdata = data.reduce((obj, {key, value}) => ({...obj, [key]: value}), {});

Related Query

More Query from same tag