Added option to omit empty sections.
Will also ommit empty tags if -ommitempty is specified
Added option to omit void return type