Added de-nesting function.
Added strict and alternate tag set parser options