It's no problem. On line 30 in extension_utils.php, replace $c->addChild( $key, $b[$key] ); with
$c->$key = $b[$key];
Then, in search.php, on lines 38 - 41, remove the methods (utf8_encode and htmlentities) wrapping the attribute calls. For instance, instead of 'uid' => utf8_encode ( htmlentities ( $bookmark->url ) ), it should read:
'uid' => $bookmark->url,