Fixed a critical error with content negotiation not handling the supportedMediaTypes data structure correctly when searching for a best matching media type.