Added JSON file creation.