title: Return hash with modified values in Ruby
body: <p>I'm trying this:</p>
  
  <p><code>{:id =&gt; 5, :foos =&gt; [1,2,3]}.each {|k,v| v.to_s}</code></p>
  
  <p>But that's returning this:</p>
  
  <p><code>{:id=&gt;5, :foos=&gt;[1, 2, 3]}</code></p>
  
  <p>I'd like to see this:</p>
  
  <p><code>{:id=&gt;"5", :foos=&gt;"[1, 2, 3]"}</code></p>
  
  <p>I've also tried variations of <code>Hash#collect</code> and <code>Hash#map</code>. Any ideas?</p>