[KARAF-2991] Shell Console throws exception when a service contains int[] as value for a property
Add a fix for custom collections