Serialize objects in Mongo. Now it's possible to store complex objects.