pub fn to_string_pretty<T>(to: &T) -> Result<String> where T: Serialize + ?Sized,
Write a value to a string
when the data can not be written