changed capture_helper.capture to take escape option (default to false) in order to support the unescaped xml generation