Use best yaml parser for Ruby version