Serializing Objects In Python Example Codes