Support default value for list of structs.
Fix ref copy of structs and lists. Fixes default values in schema files.