implementation of _.pluck done using _.map!