pub fn to_string<T>(value: &T) -> Result<String, OakError>where T: Serialize,
Serializes a Rust type into a JSON string.