moved demonym filter into resolver since no need for separate class