EventStoreLayer: Correctly detect any IList<> and IDictionary<,>