support array as scope return value from AS using config option, fixes issue #41