Replaced RecursiveDirectoryIterator by Symfony Finder in json2dot