adding some basic support for nested fields