Passing type param as part of new request to correctly get resource definition of subclasses