Add support for array structure for the data option