externalize the nested struct for the result hits, in order to allow map...

externalize the nested struct for the result hits, in order to allow mapping with concrete a class.