Support for array of modification attributes

Fixes #1655