Can we change this to `for (Map.Entry<String,?> entry : entries.entrySet())`, now that you've changed arg to map and improved generics usage of method signature?