Sqlite Json Functions Python Code