Issue #2111271 by samhassell: Added handling for fields with arrays (was: Creating Addressfields).