Now gerates JSON files for the folders.