Fix array handling so new array values replace old ones wholesale.

Previously, if you made runtime configuration changes to array values
the value would change into an object with numbered keys (instead of
staying as an array).
Merge pull request #81 from GUI/arrays

Fix array handling so new array values replace old ones wholesale