結果 : create one object from array of objects javascript