ContainerSerializer (a class in jackson-databind) includes some non-trivial machinery which may change in any version of Jackson. PrimitiveRefMapSerializer and RefPrimitiveMapSerializer (in primitive_collections_base) duplicate some parts of that logic (and I'm not sure that they do it right). Therefore, I think it would be nice to refactor these classes to inherit from ContainerSerializer.
ContainerSerializer(a class injackson-databind) includes some non-trivial machinery which may change in any version of Jackson.PrimitiveRefMapSerializerandRefPrimitiveMapSerializer(inprimitive_collections_base) duplicate some parts of that logic (and I'm not sure that they do it right). Therefore, I think it would be nice to refactor these classes to inherit fromContainerSerializer.