Fixed an issue with ObjectGraphSanitizer to handle enumerables of type object.