Fixed some issues with content-types. It is very messy solution :(
The RDF serialization detection is a real MESS :(