Objects as keys implementation

See: https://wiki.php.net/rfc/objkey