Class BooleanSerializer