Convert 'true' and 'false' to booleans.