remove dependency between Format and Serializer