dump-ast: include thev hash of the cursor in the output