pub fn parse_format(format: &Pod) -> Result<(MediaType, MediaSubtype), Error>
helper function to parse format properties type