[dp.json][xs]: correct types for amount and amountformatted.