Remove IDynamicStyleFormat and update tests using IVisitSerializer