register application/json with mimetypes module