Fix for storing empty JSON object or map. Re-implemented DBObject as interface instead of a abstract class.
Repackage