iterate through task results only if the key is not at the root level (#18214)
iterate through task results only if the key is not at the root level (#18214)

Fixes https://github.com/ansible/ansible-modules-core/issues/5396
thaim/ansible,thaim/ansible