initial JSON-based encoding for RDF