Use each_value instead of values

This should be slightly better on memory usage since it won't construct
a throw-away intermediate Array.