public function withJson() { $this->withHeaders(['Content-Type' => 'application/json']); return $this; }