PHP 5.6 also needs overriding of the serialization format for internal classes
Revert "PHP 5.6 also needs overriding of the serialization format for internal classes"

This reverts commit 1892d737204a60d08148abfedd604870b41fbb1a.