send error details as RDF/JSON to HTML/freemarker also