Only add the resource to the response data if it's defined in the Transi...

...fex config