btree worked, switching dict to sqlalchemy/sqlite