minor change: remove 'final' from AsArraySerializerBase.serializeWithType()