class AliasMap {

    public Map<String, String> toMap()
    {
        Map<String, String> map = new HashMap<>(params);
        for (Map.Entry<String, String> entry : aliases.entrySet())
        {
            String alias = entry.getKey();
            String paramKey = entry.getValue();
            map.put(alias, get(paramKey));
        }
        return Collections.unmodifiableMap(map);
    }

}