creating cached_object private method that should be used on each adapters that wants to support cache
updating json and json_api adapters to use cached_object method
updating json and json_api adapters tests to clear cache on setup