Use Decimal instead of float when calling via JSON RPC