Handle Psych::SyntaxError issues when parsing invalid YAML