revise scrape.py to save malformed synonym data