Made toDominoFriendly(Object, Base) handle Collections directly.