Replace ITextSerializer with ISerializer in Infrastructure.Azure.