cleaned up resource parsing the leverage Type property for microdata and appriately walk the tree.