[TIMOB-16207] parse string to boolean

https://jira.appcelerator.org/browse/TIMOB-16207