Fix excludeAll() method

If serializer an ArrayList<Order> object, for example, the excludeAll() method tries remove fields of ArrayList class instead of Order class.

Fix excludeAll() method to check if the object to be serialized is a Collection type