Improved/fixed serialization and deserialize.
Added backslash before DateTime object.
Merge pull request #159 from yanoosh/php-fix-sanitize

PHP - Improved/fixed serialization and deserialize.