the type should be the mapping type, and not the name of the type. This does the difference for simple_array, as the result should be simple_array and not simplearray
the type should be the mapping type, and not the name of the type. This does the difference for simple_array, as the result should be simple_array and not simplearray