resolve model name from sring in resource