BooleanEnumSerializer
Custom serializer for boolean enum fields that converts JsonElement values to Boolean during deserialization.
During deserialization:
JsonPrimitive booleans → value directly
JsonPrimitive strings → parsed to Boolean ("true"/"false")
JsonPrimitive numbers → non-zero = true, zero = false
Other types → error
During serialization, converts List