結果 : define dump method in python