write out jsons to detect any changes during refactoring