Added struct for order state i18n. Added date type to custom json encoder