Replacing the complex getValues code with a one-liner.
Form accepts multidimensional arrays in setValues().