add produces 'application/xml'
 - and close the other stream