fix bug with decoding with tag names and omitempty