(into {} (for [ev (:resource-events example-report)]
             [(:test-id ev) ev]))

might be clearer.