Add function to coerce a mimetype string into an RDFFormat.