public function toHash(SPIValue $value) { return array_map(function ($author) { return (array) $author; }, $value->authors->getArrayCopy()); }