Cast string 'true'/'false' to boolean value