Fixes bug with incorrect conversion of JsonValue to Txid.