Use keys method from Hash

just little patch for use keys instead of map {|k,v| k }

thanks for this usefull gem