Changing host_group from a hash to a string