Write JSON product type files.