join rdf/json and rdf/xml methods and add turtle as an alternative