Add field access to record arrays via attribute lookup, improve record array support