Make pre_output return a string

pre_output_plugin() returns an array. It should probably contain the actual group names and slugs though, don't you think?