Bool serializer fix