previous way wasn't going to work. instead, try converting bucket.list() into a dict