convert string 'true' or 'false' to boolean