improve error handling when creating an RDF_JSON_Document from a request result