Python Replace Class Method Json To Excel