db.get_tokenmaps(): fixing buggy code init_app() for data classes.