Fixed bug with generic types. The Swagger-UI code looks for square brackets as a sign of a model being a list/array type, therefore we can't use square brackets when we're generating a unique name for generic types.