Validate the serializer