Make StringBodyContent accept a media type