fixed iteration over non-array values in FormExtractor