Transformator/ArrayTypehint - simplify loop