Fix issue with media_type_ok?

```media_type_ok?`` was expecting a string, but getting an Attribute object. Fixed by converting to string. Also removed the ```rescue``` from all the things and do nothing that was hiding this bug.