IDocumentController::ExportToJSON

Exports the document to a json formatted string.