Allow DBObject to be deserialized when id is null

refs #135
resf #147