Fix the "Erroneous data format for unserializing" error message

Same as in:

http://www.doctrine-project.org/jira/browse/DDC-3120

but for mongodb-odm.