Revert "Fix returning array objects to QS from AppleScript"

This reverts commit 024cbe9c569d6932ef788a3ab3c5c5adbc47bc45.
This is fixed in 1826