output node_name and toplevel corpus only when needed