Better way to use codecs in Nrv
Fixed tests for previous changes
Removed contentType