save content as json file, too.