[ALOY-1128] Return values are converted to strings

[ALOY-1128] update _generated code