yaml view def writer