結果 : python create dict from list of objects