You should defined @Actions argument as $Actions => []. In your code Mason binds array ref to array where it looses to connection the reference, so you just work with a copy. To access array via reference you the following constructions: