convert json to sqlite database