Add automatic JSONifying to boolean types too