added boolean attribute serializer