Make DBObject conversion configurable to avoid conversion overhead by default.

Signed-off-by: John Oliver <johno@insightfullogic.com>