sanitize the line_items hash before importing the order