def METHOD_NAME(self, current: Dict[str, Any], prefix: str) -> None:
    if not current or any(filter(lambda key: isinstance(key, str) and (":" in key or "/" in key), current.keys())):
        return self.set(prefix, current)
    for key, value in current.items():
        path = "{}.{}".format(prefix, key)
        if isinstance(value, dict):
            self.METHOD_NAME(value, path)
        else:
            self.set(path, value)