Fixed issue where mime type "application/json" was seen as binary.