Currently, RDF export is implemented as a JSP that is creating RDF. This is error-prone and not easy to maintain. With Apache Jena now alternatives exist to write RDF data as a stream. Migrate the RDF export to this (or a similar) library.
Adding RDF support to the REST-API would then also be possible. :-)