Fix protocol_signature len for json_add_hex()