[reports][management][commands] Code cleanup

Django already provides ways to extract data
from the database in the form of a list. No
need to use a lambda and maps for that.
1 job for interactive_commands in 15 minutes and 17 seconds (queued for 7 seconds)
Status Name Job ID Coverage
  Build
passed build_linux_36 #208399
docker-build

00:15:17

65.0%