Workaround to cache NSManagedObjects by entity.rootEntity instead of actual entity.
This because in RKEntityCache when a relation is defined from entity Person to the same entity Person (like Person-child->Person) the cache doesn't retrieve destination entity if the destination entity is a subentity (Client subentity of Person and relation is linked from Person->Client)