Set output of export ids to safe within the template - #944