Allow nullptr for RPCVariable in RPCEncoder