clean up in json