Can you modify the code above to save the extracted data in a dictionary and save it as a json file?
spam lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor creativity violence