added optional field for xml root and defaulttag to form