Used to resolve references when serializing and deserializing JSON by the JsonSerializer.
IReferenceResolver.cs