Refactor arrayTypeOptions to use DSL-generated options processing function; DSL still needs work…