(#21548) Reports return a hash key not id

This patch fixes the documentation and some inline comments to reflect that
a report returns a "hash" key not an "id" and that the type is a hash, not
a uuid in this instance.

Signed-off-by: Ken Barber <ken@bob.sh>
(cherry picked from commit 9eba992a3c004ba9149e86cc53411808aff599d5)