結果 : how to get distinct object from an array of objects in javascript