Moving automatic primitive serializer registration to DefaultSerializerRegistry