Implement parsing of resourceTypes