Replace array of string by list in DefaultPluginMetadata and use immutable listin getter and setter