How to write a custom JSON decoder for a complex object? How to write a custom JSON decoder for a complex object? python-3.x python-3.x