render templates before closing JCR sessions
add our contentType to the datastream response
just pass the parent object into the templates, i'm sick of this intermittent freemarker problem