Add yaml conversion