pub fn export_observation_rows( bundle: &Value, dataset_payload: &Value, output: &Path, ) -> Result<usize, String>