correct dumping now. but still without attributes...