Slight modification to Go's xml package that removes empty parent nodes if omitempty is specified