According to the JavaDoc, JSON.parse() parses a JSON string into a DBObject. Its return type should be DBObject instead of Object. Would save a type cast in application programs.