Infer content type (json, turtle, rdfxml) of incoming data

#2 

@wmene