rpc uses $resource-esque response