I found out f:alias however if I give it like this: <f:alias map="{x: {images->v:call(method:'toArray')}}"> It then outputs the following error: The argument "map" was registered with type "array", but is of type "string" in view helper. Any help?