fix Issue #160 w.r.t using the omitempty annotation