Add yaml output on history