Added DBObject to JSON conversion to the render pipeline.