parse JSON and save in sqlite3 database