Enabling array fields when uploading a document