Use determine format by uri.format > map.parameters.format > code fallback. Refs mapbox/tm2#21.