Small workaround for ServiceClassDiscovery.java not supporting ParameterizedTypes as key type arguments

Signed-off-by: Mirko <Klemm>