Added subresource support for the RestRequestFactory