Fixed char/bool formatting in JSON.