JSON file generator.