public static String getSaveTargetType(Class<? extends SaveTarget> clazz) {
        for (String key : saveTargetTypes.keySet()) {
            if (saveTargetTypes.get(key) == clazz) {
                return key;
            }
        }
        return null;
    }