$a = { 0 => {"name" => 1111, "id" => 1}, 1 => {"name" => 2222, "id" => 2}, 2 => {"name" => 3333, "id" => 3}, 3 => {"name" => 4444, "id" => 4}, 4 => {"name" => 5555, "id" => 3} }