dsl accepts arrays and objects