fn plaintext_json_write<T: Serialize + DeserializeOwned>( obj: &T, path: &Path, ) -> Result<()>
Writes struct into a plaintext json file