Those two fields (contentEncoding and contentMediaType) are not in the OS 3.0 spec, though they are in the OS 3.1 spec. Our generator only supports 3.0, so it fails there. I will investigate what a fix would take.