FOSRest has been removed .. FOSRestBundle is already using the Negotiation lib but we are just getting the optimal format, not the optimal media type: https://github.com/FriendsOfSymfony/FOSRestBundle/blob/master/Util/FormatNegotiator.php#L81