Convert Order to a dict.