Add basic support for nested objects in base object