export function isJsonContentType(contentType) {
  try {
    const type = parse(contentType);
    return type.suffix === 'json' || type.subtype === 'json';
  } catch (e) {