Making sure that the resource_name and resource_id while being sent to reporting are always strings.