Use hgetall instead of hmget.

- Add debug logging to fix issues.