fn write_attributes( writer: &mut TableData, prefix: &str, attributes: Attributes, row: &mut Vec<Value>, ) -> Result<()>