add Json writeFile method in sub Tag classes