switch between the sandbox and real amt

Though I cannot access to the real amt, I have tested that the switch worked when I want to use the sandbox. 
Why is this not true/false? JSON supports true/false as native values that aren't strings.