structure: add omitnested support to values
structure: add omitnested support to Fields