Refactoring CDCManagedObjectToCloudObjectTransformer to protocol.