Fixed bug with JSON folders