public function __toString()
{
$str = "Object\\Data\\KeyValue oid=" . $this->objectId . "\n";
$props = $this->getInternalProperties();
if (is_array($props)) {
foreach ($props as $prop) {
$str .= " " . $prop["key"] . "=>" . $prop["value"] . "\n";
}
}
return $str;
}