Corda defines the Amount class as:
and obviously intends for users to handle amounts of their own type, c.f. FungibleAsset. However, we have configured our JSON library always to deserialise it as if T is java.util.Currency.
We need to teach Corda how to deserialise amounts which are not Currency.
please backport to Corda 3.3 and CE 3.x (release-v3)