dump-ast: include the type spelling in the output