public function encodeResponse(Gpf_Rpc_Serializable $response) { return $this->encode($response->toObject()); }