Do not write lang and excludedpaymentmethods into xml when they are not set