extracted response handler for resource
removed moco configuration