array values are assigned to collection fields, fixes #4