結果 : how to convert class object to dictionary in python