[ALOY-1128] Return values are converted to strings

For https://jira.appcelerator.org/browse/ALOY-1128