Fix serialization of objects with PHP5.3+ namespaces (RT#97863)

Fix serialization of objects with PHP5.3+ namespaces (RT#97863)

https://rt.cpan.org/Ticket/Display.html?id=97863