pub fn get_map_bytes(map_type: MapType) -> Result<Vec<(String, Bytes)>, Status>