Added option to dump yus to yaml