ADDED: example with vectorized omitempty