cleaning up json files