Make SerializationCompatibilitySpec check instances and not tuples. See #3184