private Map<String, String> getStringMap(JsonSimple json, String... path) {
        Map<String, String> response = new LinkedHashMap<String, String>();
        JsonObject object = json.getObject((Object[]) path);
        if (object == null) {
            return null;
        }
        for (Object key : object.keySet()) {
            Object value = object.get(key);
            if (value instanceof String) {
                response.put((String) key, (String) value);
            }
        }
        return response;
    }
private Map < String , String > getStringMap ( JsonSimple json , String ... path ) { Map < String , String > response = new LinkedHashMap < String , String > ( ) ; JsonObject object = json . getObject ( ( Object [ ] ) path ) ; if ( object == null ) { return null ; } for ( Object key : object . keySet ( ) ) { Object value = object . get ( key ) ; if ( value instanceof String ) { response . put ( ( String ) key , ( String ) value ) ; } } return response ; }
Trivial wrapper on the JsonConfigHelper getMap() method to cast all map
entries to strings if appropriate and return.

@param json The json object to query.
@param path The path on which the map is found.
@return Map<String, String>: The object map cast to Strings