wrap hash.select in Hash[] to return a hash in ruby 1.8.7