hgetall returns assoc array, so fixed to handle that