standardize get_open_orders return type and test