remove ptr_attrs argument from model->dump doc