Fix spec test failures involving array and  yaml output comparisons