change Array to Vector, Dictionary to Map