Fixed instance serializer bug with case insensitive tags