Faster to_array, and more attributes in each field. Fixes #232