[ALOY-1128] Return values are converted to strings for 1_5_X

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