Remove unused JSON data to free memory