Fix Support for nested Classes / Name resolution

At the current time it is not possible to use nested Classes for DTOs if
the names are the same.
Example:

public class TestDto{
public class Request{
}
}