add support for multiple row_id columns and direct input of data_array object