word importer; takes json and inserts it into the db