Added json tags and []string preprocessing for plugins.