updated model generator to have comments for array type