few array declarations & field-to-object macro