is it really a ruby syntax error? I would expect Psych::SyntaxError or something like that