[TASK] Jsonrewriter: Check DeliveredAmount when creating transaction.amountSent