Changed content type of application/json for Bad Requests