input = [{:name => "Kutty", :score => 2, :some_key => 'value'},{:name => "Kutty", :score => 4, :some_key => 'value'},{:name => "Baba", :score => 5, :some_key => 'value'}]
output = input.uniq { |x| x[:name] }
puts output
aW5wdXQgPSBbezpuYW1lID0+ICJLdXR0eSIsIDpzY29yZSA9PiAyLCA6c29tZV9rZXkgPT4gJ3ZhbHVlJ30sezpuYW1lID0+ICJLdXR0eSIsIDpzY29yZSA9PiA0LCA6c29tZV9rZXkgPT4gJ3ZhbHVlJ30sezpuYW1lID0+ICJCYWJhIiwgOnNjb3JlID0+IDUsIDpzb21lX2tleSA9PiAndmFsdWUnfV0KCm91dHB1dCA9IGlucHV0LnVuaXEgeyB8eHwgeFs6bmFtZV0gfQoKcHV0cyBvdXRwdXQ=