Will this raise an exception with invalid yaml?