improve support for media range params in content-type

* fix crash in v3o18 when using media range params
* fix formatting of media range params in content type