clean up json files and syntax.