renamed function getFREArrayAsNSArray because of ANE conflicts