<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def order_to_dict(order):
 """Convert an IBPy Order object to a dict containing any non-default values."""

    default = Order()
    return {field: val for field, val in vars(order).items() if val != getattr(default, field, None)}