Improved Resources to set the type of the model without the name space and enabled parsing the item type of an array. Fixes #191