correct conversion for result of SCR.Execute

I prefer to have it here, to_map has to be always there and for me it's more clear to have also to_integer.