Return correct types for strings 'true', 'false', and '<integer>'.