}
private ContentRepresentation readResource(JsonNode rootNode) throws IOException {
ContentBasedRepresentation resource = new ContentBasedRepresentation(representationFactory, rootNode.toString());
readNamespaces(resource, rootNode);
readLinks(resource, rootNode);
readProperties(resource, rootNode);
readResources(resource, rootNode);