Mediatype strict comparison fix

Fix: Mediatype was for strict "application/json" comparison and that comparison doesn't work if content type is "application/json;charset=UTF-8", which is same but additionally having charset.