rawtx: add "univalue" class for JSON output