結果 : how to convert array of objects to single object in javascript