Fix JSON boolean types