pub fn to_string<T>(data: T) -> Result<String, Error>where DicomJson<T>: From<T> + Serialize,
Serialize a piece of DICOM data as a string of JSON.