Add an irb method to dump as YAML