Replace security/forms/set/export processor with a class based one and fix #12021
Fix forced fetching of optional template name
Replace security/forms/set/export processor with a class based one and fix

* origin/pr/12023:
  Fix forced fetching of optional template name
  Replace security/forms/set/export processor with a class based one and fix #12021